﻿using IcqSharp;
using IcqSharp.Packets;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;

namespace IcqGatewayTest
{
    class Program
    {
        static void Main(string[] args)
        {
            string uin = "677933382";
            string password = "icqPWD1";
            using (Session s = new Session(uin, password))
            {
                s.Connect();
                while (true)
                {

                    Console.Write("Введите текст сообщения:");
                    String message = Console.ReadLine();
                    CliIcbmSend packet = new IcqSharp.Packets.CliIcbmSend("175132835", message);
                    s.Send(packet);

               
                    
                }
            }
           
        }
    }
}
